package com.itheima.homework;

public class HomeWork9 {
    public static void main(String[] args) {
        System.out.print("逢七过这些数据要说过[");
        for (int i = 1; i <=100 ; i++) {
            int ge = i%10;
            int shi = i/10;
            if(i%7==0||ge==7||shi==7){
                System.out.print(i+" ");
            }

        }
        System.out.println("]");
    }
}
